<div class="data-input">
    <fieldset>
        <legend><?php echo "$formTitle";?></legend>
        <?php
        foreach ($dataInput as $row);
        echo form_open($subLink, '');
        ?>
            <label>Nama</label><?php echo form_input('nama', $row['nama'], 'id=nama');?>
            <label>Lokasi</label><?php echo form_input('lokasi', $row['lokasi'], 'id=lokasi');?>
            <label>Penanggung Jawab</label><?php echo form_input('penanggungJawab', $row['penanggung_jawab'], 'id=penanggungJawab');?>
            <label>No. Telepon</label><?php echo form_input('noTelp', $row['no_telp'], 'id=noTelp');?>
            <fieldset class="input-process">
                <?php
                  echo form_hidden('id', $row['id']);
                  echo form_submit('edit', 'Simpan', 'class=button style=margin-right:2px');
                  echo form_button('Batal', 'Batal', 'class=button onClick='."javascript:location.href='".base_url()."index.php/dropzone/'".'');
                ?>
            </fieldset>
        <?php
        echo form_close();
        ?>
    </fieldset>
</div>